﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Security.Principal;


public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    /*protected void Button1_Click(object sender, EventArgs e)
    {
        TextBox1.Text = WindowsIdentity.GetCurrent().Name;// HttpContext.Current.User.Identity.GetType().ToString();//Request.ServerVariables.get("REMOTE_USER");
		//response.write(Request.ServerVariables("REMOTE_USER");
    }*/
    protected void LoginButtonClick(object sender, EventArgs e)
    {

    }
    protected void TextBox1_TextChanged(object sender, EventArgs e)
    {
        TextBox1.Text = User.Identity.Name;
    }
}